//
//  TOTopListModel.m
//  SeaGullFM
//
//  Created by dllo on 15/11/21.
//  Copyright © 2015年 tianou. All rights reserved.
//

#import "WSTopListModel.h"
#import "WSTopResult.h"

@implementation WSTopListModel

//@property(nonatomic,copy)NSString *title;
//@property(nonatomic,copy)NSString *contentType;
//@property(nonatomic,copy)NSNumber *top;
//@property(nonatomic,copy)NSNumber *categoryId;
//@property(nonatomic,copy)NSMutableArray *firstKResults;
//@property(nonatomic,copy)NSNumber *firstId;
//@property(nonatomic,copy)NSString *coverPath;
//@property(nonatomic,copy)NSString *rankingRule;
//@property(nonatomic,copy)NSString *subtitle;
//@property(nonatomic,copy)NSString *calcPeriod;
//@property(nonatomic,copy)NSString *firstTitle;
//@property(nonatomic,copy)NSString *key;
//@property(nonatomic,copy)NSNumber *orderNum;
//@property(nonatomic,copy)NSNumber *period;

-(instancetype)init
{
    self = [super init];
    if (self) {
        
    }
    return self;
}



-(void)setFirstKResults:(NSMutableArray *)firstKResults
{
//    NSLog(@"%@", firstKResults);
    _firstKResults = firstKResults;
    NSMutableArray *array = [NSMutableArray array];
    
    for (NSDictionary *dic in _firstKResults) {
        
        WSTopResult *topList = [WSTopResult modelWithDictionary:dic];
        [array addObject:topList];
        
    }
    _firstKResults = [NSMutableArray arrayWithArray:array];
    
}

@end
